package com.jianying.domain;

import java.util.Date;

public class Payment {

	private Integer id;
	
	private String explain;
	
	private Date paidAt;
	
	private Date confirmAt;
	
	private Double total;
	
	private Integer settlementId;
	
	/**
	 * 以下两个字段业务需要的代理字段
	 */
	private String settlementUuid;
	
	private String sellerName;
	
	public Payment() {}
	
	public Payment(Integer settlementId, Double total, String explain) {
		this.settlementId = settlementId;
		this.total = total;
		this.explain = explain;
		this.paidAt = new Date();
	}

	public Date getConfirmAt() {
		return confirmAt;
	}

	public void setConfirmAt(Date confirmAt) {
		this.confirmAt = confirmAt;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getExplain() {
		return explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}

	public Date getPaidAt() {
		return paidAt;
	}

	public void setPaidAt(Date paidAt) {
		this.paidAt = paidAt;
	}

	public Double getTotal() {
		return total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

	public Integer getSettlementId() {
		return settlementId;
	}

	public void setSettlementId(Integer settlementId) {
		this.settlementId = settlementId;
	}

	public String getSettlementUuid() {
		return settlementUuid;
	}

	public void setSettlementUuid(String settlementUuid) {
		this.settlementUuid = settlementUuid;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	
}
